WPSecurityNinja\Plugin\Wf_Sn_Rest_Api_Admin S

Total Complexity 44
Dependencies 2
Dependents 0
Total lines 521
Lines of code 456
Logical lines of code 120
Comment lines 52
Methods 10
Properties 0

Methods 10

Method Rating Maintainability Complexity Lines of code
render_admin_page()
B
26
5 290
admin_notices()
A
50 13 23
test_connection_to_wpsecuritydashboard()
A
39 7 67
handle_rest_api_page()
S
66 5 7
handle_connection_test()
S
58 4 14
handle_token_regeneration()
S
59 4 13
hide_rest_api_submenu_css()
S
58 3 21
init()
S
66 1 8
generate_new_api_token()
S
79 1 3
add_rest_api_submenu()
S
65 1 10